package plantshop.controller.moves;

import java.io.Serializable;

import plantshop.model.Game;

public class RatingTimeMove extends TimeMove implements Serializable{
	private static final long serialVersionUID = 7652068102839127447L;
	public static final float MULTIPLIER = 0.9f;
	
	@Override
	public void execute(Game game) {
		game.getStore().updateSellRating((int)(game.getStore().getSellRating()*MULTIPLIER));
		game.getStore().resetSales();
	}

}
